package com.hnhy.hnhyscms_ws.dao;

import com.hnhy.hnhyscms_ws.entity.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUsersDao {
    Users getByIdAndName(@Param("username")String username,@Param("password")String password);
    List<Users> getAllUsers();
    void addUser(Users users);
    void change(Users users);
    void delete(@Param("username")String username);
}
